.code-root {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f7fb;
  background-image: url('/12.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 24px;
  position: relative;
}

.code-root::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  z-index: 0;
}

.code-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
}

.code-content {
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.code-badge {
  background: #122b2c;
  color: #e5f3f2;
  padding: 16px 24px;
  border-radius: 16px;
  margin-bottom: 32px;
}

.code-label {
  font-size: 14px;
  margin: 0 0 8px 0;
  opacity: 0.8;
}

.code-value {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 2px;
}

.redirect-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e5e7eb;
  border-top-color: #122b2c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.redirect-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.redirect-subtitle {
  font-size: 16px;
  color: #374151;
  margin: 0;
}

.countdown {
  font-size: 18px;
  font-weight: 600;
  color: #122b2c;
  margin: 8px 0 0 0;
}

@media (max-width: 480px) {
  .code-content {
    padding: 32px 24px;
  }

  .redirect-title {
    font-size: 20px;
  }

  .redirect-subtitle {
    font-size: 14px;
  }
}

